<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-local" class="control-label col-xs-12 col-sm-2">文件:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="file" data-rule="required" id="c-local" class="form-control" />
        </div>
    </div>
    <div class="form-group">
        <label for="c-local" class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="button" id="faupload-local" class="btn btn-primary faupload" data-mimetype="pdf,txt,doc" data-multiple="true" data-input-id="c-local">
                <i class="fa fa-upload"></i> {:__("上传导入文件")}
            </button>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">一级分类:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-one_category_id" data-source="bookscategory/plist" class="form-control selectpage" name="one_category_id" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">二级分类:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-category_id" data-source="bookscategory/twolist" class="form-control selectpage" name="category_id" type="text" value="">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
